﻿using System.Drawing;

namespace KMSimulator.Model
{
    public class MouseWheelAction : KMActionBase
    {
        /// <summary>
        /// 旋转角度
        /// </summary>
        public int Rotation { get; set; }

        /// <summary>
        /// 鼠标滚动方向
        /// </summary>
        public Direction Direction { get; set; }

        public override KMActionType ActionType => KMActionType.MouseWheel;

        public override string GetActionType()
        {
            return "鼠标滚轮";
        }

        public override string ToString()
        {
            return $"鼠标滚轮, 方向: {{Direction}}, 旋转角度: {{Rotation}}";
        }
    }
}
